home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / fddev202.arc / C.ARC / FOLDER.H < prev    next >
Text File  |  1991-10-01  |  2KB  |  66 lines

  1. /*
  2. **  folder.h (FrontDoor)
  3. **
  4. **  Copyright 1991 Joaquim H. Homrighausen. All rights reserved.
  5. **
  6. **  FOLDER.FD definitions for FrontDoor 2.00+
  7. **
  8. **  Last revision:  91-10-02
  9. **
  10. **  -------------------------------------------------------------------------
  11. **  This information is not necessarily final and is subject to change at any
  12. **  given time without further notice
  13. **  -------------------------------------------------------------------------
  14. */
  15.  
  16. /*
  17. **  Constant long bit values
  18. */
  19. #define RESTRICT    0x00000001L
  20. #define ECHO_INFO   0x00000002L
  21. #define EXPORT_OK   0x00000004L
  22. #define USE_XLAT    0x00000008L
  23. #define PRIVATE     0x00000010L
  24. #define READONLY    0x00000020L
  25. #define NETMAIL     0x08000000L                       /* Commercial version */
  26. #define QUICKBBS    0x10000000L                      /* Hudson-style folder */
  27. #define DELETED     0x20000000L                    /* Never written to disk */
  28. #define LOCAL       0x40000000L
  29. #define ECHOMAIL    0x80000000L
  30.  
  31.  
  32. /*
  33. **  User access mask
  34. */
  35. #define USER_1      0x00000001L
  36. #define USER_2      0x00000002L
  37. #define USER_3      0x00000004L
  38. #define USER_4      0x00000008L
  39. #define USER_5      0x00000010L
  40. #define USER_6      0x00000020L
  41. #define USER_7      0x00000040L
  42. #define USER_8      0x00000080L
  43. #define USER_9      0x00000100L
  44. #define USER_10     0x00000200L
  45.  
  46.  
  47. /*
  48. **  Folder structure
  49. **
  50. **  The "path" and "title" fields below are NUL terminated.
  51. */
  52. typedef struct
  53.     {
  54.     char    path[65],                /* Path if "board==0", otherwise emtpy */
  55.             title[41];                         /* Title to appear on screen */
  56.     byte    origin;                            /* Default origin line, 0-19 */
  57.     long    behave;                                  /* Behavior, see above */
  58.     long    pwdcrc;              /* CRC32 of password or -1L if unprotected */
  59.     long    userok;                            /* Users with initial access */
  60.     byte    useaka;                               /* AKA to use, 0==primary */
  61.     word    board;                      /* Hudson-message base board number */
  62.     }
  63.     FOLDER, *FOLDERPTR;
  64.  
  65. /* end of file "folder.h" */
  66.